package com.jielin.handling.exception;

public enum ResultEnum {
    SUCCESS(200, "成功"),
    FAIL(-1, "失败"),
    EXCEPTION(300, "系统异常"),
    UNLOGIN(201, "未登录"),
    XSKYUPLOADFAIL(-10, "xsky上传文件/文件夹失败"),
    XSKYCOPYFAIL(-11, "xsky复制文件/文件夹失败");

    private int code;
    private String msg;

    private ResultEnum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

}